package popcorn.ticket.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import popcorn.ticket.entity.MovieTypes;
import popcorn.ticket.entity.MovieTypesExample;
@Repository
public interface MovieTypesMapper {
    long countByExample(MovieTypesExample example);

    int deleteByExample(MovieTypesExample example);

    int deleteByPrimaryKey(Integer mtypeid);

    int insert(MovieTypes record);

    int insertSelective(MovieTypes record);

    List<MovieTypes> selectByExample(MovieTypesExample example);

    MovieTypes selectByPrimaryKey(Integer mtypeid);

    int updateByExampleSelective(@Param("record") MovieTypes record, @Param("example") MovieTypesExample example);

    int updateByExample(@Param("record") MovieTypes record, @Param("example") MovieTypesExample example);

    int updateByPrimaryKeySelective(MovieTypes record);

    int updateByPrimaryKey(MovieTypes record);
}